How to setup bots on your Team Fortress 2 Server
sidebar_position: 6
How to setup Bots on your Team Fortress 2 server.
Via Console
- Locate the console page on the control panel.
- Enter the command:
tf_bot_add <amount> <team> <class>
<amount>is the number of bots that you want.<team>is the team you want them on Note: The<team>options areredandblue<class>is the class that they use. Note: The<class>options arescout,soldier,pyro,demoman,heavyweapons,engineer,medic,sniper, andspyFor Example if you wanted to add 4 soldiers to the blue team the command would be:tf_bot_add 4 blue soldier
Via Files
If you want to add bots to your game for all games, in the files tab find the file.:
/home/container/tf/cfg/server.cfg
- Add/Edit the following lines
tf_bot_quota "<amount>"tf_bot_quota_mode "fill"tf_bot_auto_vacate "1".
Removing Bots
If you want to remove a bot,
- Navigate back to the console page of your server.
- Enter the command:
tf_bot_kick
Important Note: If your bots name has spaces in it then you will need to encase the name in quotes e.g. "sparky dog"
For example:
tf_bot_kick bot
OR
tf_bot_kick "sparky dog"
If you want to kick all the bots you can use the command:
tf_bot_kick all
If you require any further assistance, please create a ticket here.
Created By: Cooper A.